/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

package com.jy.rhin.facade.ws.registration.person;

import cn.org.chiss.rhin._2015.registration.person.PersonIdentifierQuery;
import cn.org.chiss.rhin._2015.registration.person.PersonIdentifierQueryResponse;
import com.jy.rhin.application.registration.PersonService;
import com.jy.rhin.config.NamespaceConstants;
import com.jy.rhin.support.aspect.AuditLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.jws.WebService;


@WebService(
        serviceName = "PersonIdentifierProvider",
        portName = "PersonIdentifierPort",
        targetNamespace = NamespaceConstants.NS_RHIN,
        endpointInterface = "com.jy.rhin.facade.ws.registration.person.PersonIdentifierProvider")
@Component
public class PersonIdentifierProviderPortImpl implements PersonIdentifierProvider {

	@Autowired
	PersonService personService;

	@Override
	@AuditLog
	public PersonIdentifierQueryResponse personIdentifierQuery(PersonIdentifierQuery message) {
		return personService.personIdentifierQuery(message);
	}



}
